<?php
	echo form_open_multipart('etudiant_c/add_studies');
	echo form_hidden('GMET_CODE',$etudiant->GMET_CODE);
	$lab = array('class' => 'label');
	$etablissement_para =array(
	        			'name' => 'GMES_ETABLISSEMENT',
                        'value' => ''
	        	);
	echo '<p><span class="div_left" id="div_studies_etablissement">'.form_label(lang('etablissement'),'GMES_ETABLISSEMENT',$lab).' '.form_input($etablissement_para).'</span></p>';

	$option_para =array(
	        			'name' => 'GMES_OPTION',
                        'value' => ''
	        	);
	echo '<p><span id="div_studies_option">'.form_label(lang('option'),'GMES_OPTION',$lab).' '.form_input($option_para).'</span></p>';
	$specialisation_para =array(
	        			'name' => 'GMES_SPECIALISATION',
                        'value' => ''
	        	);
	echo '<p><span class="div_right" id="div_studies_specialisation">'.form_label(lang('specialisation'),'GMES_SPECIALISATION',$lab).' '.form_input($specialisation_para).'</span></p>';

	$date_deb_para = array(
                          'id' => 'datepicker_studies_deb',
                          'name' => 'GMES_DATE_DE_DEBUT',
                          'value' => ''
                          );
	echo '<p><span class="div_left" id="div_studies_date_deb">'.form_label(lang('date_deb'),'GMES_DATE_DE_DEBUT',$lab).' '.form_input($date_deb_para).'</span>';

	$date_fin_para = array(
                          'id' => 'datepicker_studies_fin',
                          'name' => 'GMES_DATE_DE_FIN',
                          'value' => ''
                          );
	echo '<span class="div_right" id="div_studies_date_fin">'.form_label(lang('date_fin'),'GMES_DATE_DE_FIN',$lab).' '.form_input($date_fin_para).'</span>';
    echo '</p>';

    $nom_diplome_para =array(
	        			'name' => 'GMES_NOM_DU_DIPLOME',
                        'value' => ''
	        	);
	echo '<p><span class="div_right" id="div_studies_specialisation">'.form_label(lang('nom_diplome'),'GMES_NOM_DU_DIPLOME',$lab).' '.form_input($nom_diplome_para).'</span></p>';

    $diplome_para = array(
	     					'name' => 'GMES_DIPLOME',
	     					'class' => 'file',
	     					'id' => 'upload_diplome'
	     				); 
    echo '<p>'.form_label(lang('diplome'),'GMES_DIPLOME',$lab).'</p>';
    echo '<p>'.form_upload($diplome_para).'</p>'; 

    $releve_notes_para = array(
	     					'name' => 'GMES_RELEVE_DE_NOTES',
	     					'class' => 'file',
	     					'id' => 'upload_diplome'
	     				); 
    echo '<p>'.form_label(lang('releve_notes'),'GMES_RELEVE_DE_NOTES',$lab).'</p>';
    echo '<p>'.form_upload($releve_notes_para).'</p>'; 

	echo '<p class="div_right">'.form_submit('add_studies', lang('add_studies')).'</p>';
	echo form_close();
?>